package com.hzsk.lisence.service;

import com.github.pagehelper.PageInfo;
import com.hzsk.lisence.config.myexception.BaseException;
import com.hzsk.lisence.entity.EmDeviceRelationEntity;
import com.hzsk.lisence.entity.EmSoftwareRelationEntity;
import com.hzsk.lisence.entity.request.NcProduceRequest;
import com.hzsk.lisence.entity.response.NcProduceDetail;

import java.util.List;

/**
 * @Description :
 * @Date : 2024/8/21
 * @Author : ChenJin
 * @Version : v1.0.0
 **/
public interface EmRelationBindService {

    Boolean syncSoftwareRelation(EmSoftwareRelationEntity emSoftwareRelationEntity) throws BaseException;
    
    Boolean syncDeviceRelation(EmDeviceRelationEntity emDeviceRelationEntity) throws BaseException;

    PageInfo<EmDeviceRelationEntity> getNcProduceList(NcProduceRequest ncProduceRequest) throws BaseException;

    Boolean updateDeviceRelation(EmDeviceRelationEntity emDeviceRelationEntity) throws BaseException;
    
    Boolean updateDeviceRelationStatus(EmDeviceRelationEntity emDeviceRelationEntity) throws BaseException;

    EmDeviceRelationEntity getDeviceRelationByIdcProductCode(String idcProductCode) throws BaseException;
    
}
